# $NetBSD: Makefile,v 1.4 2012/11/25 23:32:31 othyro Exp $
#

DISTNAME=		ttr-0.11
CATEGORIES=		games
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=ttr/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://ttr.sourceforge.net/
COMMENT=		Text Text Revolution
LICENSE=		gnu-gpl-v2

GNU_CONFIGURE=		YES
USE_LANGUAGES=		c
ONLY_FOR_PLATFORM=	Linux-*-* # Because of linuxjoy.c
INSTALLATION_DIRS+=	bin share/ttr

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/ttr ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/steps/6jan.step ${DESTDIR}${PREFIX}/share/ttr/

.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
